/**
 * @Description:
 * @Author 卞鹏飞 <228443632@qq.com>
 * @create 06/02/25 PM7:31
 */

/**
 * const INSTALL_TYPE = {
 *   npm: 'npm',
 *   yarn: 'yarn',
 *   pnpm: 'pnpm'
 * } as const
 *
 * ObjectValueType(typeof INSTALL_TYPE)
 *
 * => 'npm' | 'yarn' | 'pnpm'
 */
export type ObjectValueType<T extends object> = T[keyof T]
